import java.util.Scanner;

public class Exer3_8_8 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int i=1,max=0;
        while(i<=10){
            System.out.println("输入第"+i+"个数");
            int a = input.nextInt();
            if(a>max){
               max=a;
            }
            i++;
        }
        System.out.println(max);
    }
}
